{template 'admin','header'}
<form action="" method="POST" onsubmit="return r_submit(this);">
    <input type="hidden" name="site_id" value="{$site_id}"/>
    <table cellpadding="2" cellspacing="1" class="table_form">
        <caption>修改试题</caption>
        <tr>
            <th width="20%"><strong>调查问卷名称</strong></th>
            <td>
                <select name="investigateid" id="investigateid">
                  <option value="">请选择</option>
                  {loop $investigate_list $key=>$value}
                    <option value="{$key}">{$value}</option>
                  {/loop}
                </select>
                <script>
                    $("#investigateid").val("{$info['investigateid']}");
                 </script>
            </td>
        </tr>
        <tr>
            <th width="20%"><font color="red">*</font><strong>试题名称</strong></th>
            <td>
                <input type="text" id="questionname" name="questionname" size="20" value="{$info['questionname']}"/>
            </td>
        </tr>
        <tr>
            <th><strong>试题类型</strong></th>
            <td>
                <select name="qtype" id="qtype">
                  <option value="">请选择</option>
                  <option value="3">单选框</option>
                </select>
                <script>
                    $("#qtype").val("{$info['qtype']}");
                 </script>
            </td>
        </tr>
        <tr>
            <th></th>
            <td>
                <input type="submit" value=" 确定 " class="button_style">&nbsp;
                <input type="button" class="button_style" onclick="self.location='{urldecode($forward)}'" value=" 返回 ">
            </td>
        </tr>
    </table>
    <input type="hidden" name="id" value="{$info['id']}">
    <input type="hidden" name="forward" value="{$forward}">
</form>
{template 'admin','footer'}